package com.qixin.modules.rzInvoice.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qixin.modules.ea.entity.EaBookDetail;
import com.qixin.modules.rzInvoice.entity.EaBill;
import io.lettuce.core.dynamic.annotation.Param;
import org.jeecg.common.api.vo.Result;

import java.util.List;
import java.util.Map;

/**
 * @Description: ea_bill
 * @Author: qixin-boot
 * @Date:   2021-09-10
 * @Version: V1.0
 */
public interface IEaBillService extends IService<EaBill> {
    EaBookDetail queryEaBookDetail(String id);

    void updateEabill(EaBookDetail eaBookDetail);

    /**
    * @Description 通过发票id 查询对应的发票头数据或发票明细行数据
    * @author  wujinbiao
    * @date 2022/2/22
    * @param id
    * @return org.jeecg.common.api.vo.Result<?>
    */
    List<Map<String,Object>> getBillDetailList(String id);
}
